set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -pedantic -Werror")
add_definitions(-D_XOPEN_SOURCE=500 -D_BSD_SOURCE)

add_library(fbbspg SHARED pg.c)
target_link_libraries(fbbspg pq)
install(TARGETS fbbspg LIBRARY DESTINATION so)
